import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { SeriGatewaySharedLibsModule, SeriGatewaySharedCommonModule, SeriLoginModalComponent, HasAnyAuthorityDirective } from './';

@NgModule({
  imports: [SeriGatewaySharedLibsModule, SeriGatewaySharedCommonModule],
  declarations: [SeriLoginModalComponent, HasAnyAuthorityDirective],
  entryComponents: [SeriLoginModalComponent],
  exports: [SeriGatewaySharedCommonModule, SeriLoginModalComponent, HasAnyAuthorityDirective],
  schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class SeriGatewaySharedModule {
  static forRoot() {
    return {
      ngModule: SeriGatewaySharedModule
    };
  }
}
